home *** CD-ROM | disk | FTP | other *** search
/ Champak 125 / Vol 125 (Damaged).iso / games / orbox.swf / scripts / frame_20 / DoAction.as
Encoding:
Text File  |  2008-11-13  |  439 b   |  36 lines

  1. m = 0;
  2. if(lv < 1)
  3. {
  4.    lvc = 1;
  5.    bss = 0;
  6. }
  7. else
  8. {
  9.    lvc = lv * 2 + 1;
  10. }
  11. lev.gotoAndPlay(lvc);
  12. pxs = 10;
  13. warp = 0;
  14. xrad = random(2) + 1;
  15. if(xrad == 1)
  16. {
  17.    _root._xscale = -100;
  18.    _root._x = 550;
  19. }
  20. if(xrad == 2)
  21. {
  22.    _root._xscale = 100;
  23.    _root._x = 0;
  24. }
  25. yrad = random(2) + 1;
  26. if(yrad == 1)
  27. {
  28.    _root._yscale = -100;
  29.    _root._y = 400;
  30. }
  31. if(yrad == 2)
  32. {
  33.    _root._yscale = 100;
  34.    _root._y = 0;
  35. }
  36.